<script language='javascript' type='text/javascript' src="<?=base_url('users')?>scripts/user.js"></script>
<?if(get_flash_message()){?><center><div class="messageBox"><?=get_flash_message()?></div></center><?}?>
<form method="post" action="<?=site_url('admin/users.users.delete_all')?>" name="frm" id="frm">
<input type="hidden" name="act" id="act" value="delete_all" />
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="text">
  <tr align="center" id="listTableHeader"> 
    <td width="3%"><input type="checkbox" onclick="common.mark_all_rows('uid[]', this.checked)" /></td>
    <td width="45%">{NameTX}</td>
    <td width="45%">Password</td>
    <td width="7%"><nobr>Action</nobr></td>
  </tr>
<?$i=1;foreach($users as $user){?>
  <tr class="row<?=($i==1)?'1':'2'?>">
    <td align="center"><input type="checkbox" name="uid[]" value="<?=$user->admin_id?>" /></td>
    <td><?=h($user->admin_login)?></td>
    <td>******</td>
    <td>
        <a href="<?=site_url('admin/users.users.edit/'.$user->admin_id)?>"><div class="edit_icon">|</div></a>
        <a href="javascript:void(0);" onclick="user.del(<?=$user->admin_id?>)"><div class="delete_icon"></div></a>
    </td>
  <tr>
<?$i=-$i;}?>
  <tr>
    <td colspan="8">
      <table class="adminlist" border="0" cellpadding="0" cellpadding="0" width="100%" class="PagingTable">
        <tr>
          <td class="pageCounter" width="100%" align="center">
            {paging}
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</form>
